package com.xxyf.pojo;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;

@Data
@AllArgsConstructor
@Accessors(chain = true)
@NoArgsConstructor
public class Userplan  implements Serializable {

  @ApiModelProperty("id")
  private long id;
  @ApiModelProperty("开始时间")
  private Date start;
  @ApiModelProperty("结束时间")
  private Date end;
  @ApiModelProperty("分组")
  private String group;
  @ApiModelProperty("目标")
  private String goal;
  @ApiModelProperty("关联用户表id")
  private long userid;
  @ApiModelProperty("总数")
  private long number;
  @ApiModelProperty("每天数量")
  private long day;
  @ApiModelProperty("名称")
  private String name;
  @ApiModelProperty("乐观锁")
  private Integer version;
  @ApiModelProperty("创建时间")
  private Date gtmCreate;
  @ApiModelProperty("更新时间")
  private Date gtmModifide;
  @ApiModelProperty("逻辑删除")
  private Integer deleted;
  @ApiModelProperty("关联主表")
  private Username username;


}
